/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
  corePlugins: {
    // container: false,
    preflight: false,
  },
  theme: {
    // 尺寸按px
    spacing: Array.from({ length: 1000 }).reduce((map, _, index) => {
      map[index] = `${index}px`
      return map
    }, {}),
    extend: {
      container: {
        center: true,
        width: 1200,
      },
      colors: {
        brand: '#496ce9',
        white: 'white',
        bg: '#f8fafc',
        text: '#262833',
        'text-light': '#6b6d7c',
      },
    },
  },

  plugins: [],
}
